import hasRole from './permission/hasRole'
import hasPermi from './permission/hasPermi'
import copyText from './common/copyText'
import adaptive from './common/tableAdaptive'
import resize from './common/resizeObserver'
import lacksRole from './permission/lacksRole'

export default function directive(app) {
	app.directive('hasRole', hasRole)
	app.directive('hasPermi', hasPermi)
	app.directive('copyText', copyText)
	app.directive('adaptive', adaptive)
	app.directive('resize', resize)
	app.directive('lacksRole', lacksRole)
}
